<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
class Place extends AppModel {
    
    //////////////////////////
   /* public $hasMany = array (
        'Action' => array (
            'foreignKey' => 'places_id'
        )
    );
    */
    
    public $hasOne = array(
      'PlaceCity' => array(
          'foreignKey' => 'places_id'
      ),
      'PlaceDepartment' => array(
          'foreignKey' => 'places_id'
      ),
      'PlaceState' => array(
        'foreignKey' =>  'places_id'
      ),
      'PlaceCountry' => array(
        'foreignKey' =>  'places_id'         
      )
    );
}

?>
